<template>
  <el-card class="avue_height">
    <search :keyName="keyName" @search="search" @resetSearch="resetSearch" ref="search" />
    <!-- <div class="content">
      <div class="table_caozuoAdd">
        <el-button type="primary" icon="plus" @click="addMendian">批量配单</el-button>
      </div>
    </div> -->
    <el-tabs v-model="keyName" type="card" @tab-click="callback">
      <el-tab-pane :label="tab.allShop" name="1">
        <allShop ref="allShop" @trigger="trigger" />
      </el-tab-pane>
      <el-tab-pane :label="tab.openShop" name="2">
        <openShop ref="openShop" @trigger="trigger" />
      </el-tab-pane>
      <el-tab-pane :label="tab.stopShop" name="3">
        <stopShop ref="stopShop" @trigger="trigger" />
      </el-tab-pane>
    </el-tabs>
  </el-card>
</template>

<script src='./index'></script>

<style lang="scss">
.content {
  .table_caozuoAdd {
    margin: 10px 0px 20px 0px;
  }
}
</style>